package com.bxj.common;

import com.bxj.wxtt.FreadServiceApplication;
import com.ifeng.matrix.application.AbstractEmbeddedServerApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.ImportResource;

import java.io.IOException;

/**
 * 漫画服务主程序
 */
@ComponentScan("com.ifeng")
@ImportResource({"classpath:/spring/applicationContext-ehcache.xml",
 "classpath:/spring/applicationContext-datasource.xml",
 "classpath:/spring/applicationContext-dao.xml",
})
@EnableAutoConfiguration
public class FreadServiceTestApplication extends AbstractEmbeddedServerApplication {

    public static void main(String[] args) throws IOException {
        run(FreadServiceApplication.class, args);
    }
}
